home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / emstools.arc / EMMLIB.ARC / EMMLIB.EQU < prev    next >
Text File  |  1990-02-04  |  5KB  |  136 lines

  1. ;-----------------------------------------------------------------------------;
  2. ;                      S Y S T E M   I N T E R R U P T S                      ;
  3. ;-----------------------------------------------------------------------------;
  4. DOS_INT                    EQU    21h
  5. EMM_INT                    EQU    67h
  6.  
  7. ;-----------------------------------------------------------------------------;
  8. ;                          D O S   F U N C T I O N S                          ;
  9. ;-----------------------------------------------------------------------------;
  10. GET_INT_VECTOR                EQU    35h
  11.  
  12. ;-----------------------------------------------------------------------------;
  13. ;                          E M M   F U N C T I O N S                          ;
  14. ;-----------------------------------------------------------------------------;
  15. get_status_fcn                EQU    40h
  16. get_page_frame_fcn            EQU    41h
  17. get_unalloc_page_cnt_fcn        EQU    42h
  18. allocate_pages_fcn            EQU    43h
  19. map_page_fcn                EQU    44h
  20. dealloc_fcn                EQU    45h
  21. get_emm_version_fcn            EQU    46h
  22. save_page_map_fcn            EQU    47h
  23. restore_page_map_fcn            EQU    48h
  24. get_handle_count_fcn            EQU    4Bh
  25. get_handle_pages_fcn            EQU    4Ch
  26. get_all_handle_pages_fcn        EQU    4Dh
  27. get_page_map_fcn            EQU    4E00h
  28. set_page_map_fcn            EQU    4E01h
  29. get_and_set_page_map_fcn        EQU    4E02h
  30. get_size_page_map_array_fcn        EQU    4E03h
  31.  
  32. get_partial_page_map_fcn        EQU    4F00h
  33. set_partial_page_map_fcn        EQU    4F01h
  34. get_size_p_page_map_array_fcn        EQU    4F02h
  35.  
  36. map_mult_page_fcn            EQU    50h
  37.  
  38. realloc_fcn                EQU    51h
  39.  
  40. get_handle_attrib_fcn            EQU    5200h
  41. set_handle_attrib_fcn            EQU    5201h
  42. get_attrib_capability_fcn        EQU    5202h
  43.  
  44. get_handle_name_fcn            EQU    5300h
  45. set_handle_name_fcn            EQU    5301h
  46.  
  47. get_handle_dir_fcn            EQU    5400h
  48. search_for_named_handle_fcn        EQU    5401h
  49. get_total_handles_fcn            EQU    5402h
  50.  
  51. alter_page_map_and_jmp_fcn        EQU    55h
  52.  
  53. alter_page_map_and_call_fcn        EQU    56h
  54. phys_page_mode                EQU    0
  55. phys_seg_mode                EQU    1
  56. get_page_map_stack_space_size_fcn    EQU    5602h
  57.  
  58. move_memory_fcn             EQU    5700h
  59. exchange_memory_fcn            EQU    5701h
  60.  
  61. get_mappable_phys_addr_array_fcn    EQU    5800h
  62. get_mappable_array_entries_fcn        EQU    5801h
  63.  
  64. get_emm_hardware_info_fcn        EQU    5900h
  65. get_unallocated_raw_pg_cnt_fcn        EQU    5901h
  66.  
  67. alloc_standard_pages_fcn        EQU    5A00h
  68. alloc_raw_pages_fcn            EQU    5A01h
  69.  
  70. get_alt_map_reg_set_fcn         EQU    5B00h
  71. set_alt_map_reg_set_fcn         EQU    5B01h
  72. get_alt_map_save_array_size_fcn     EQU    5B02h
  73. allocate_alt_map_regs_fcn        EQU    5B03h
  74. deallocate_alt_map_regs_fcn        EQU    5B04h
  75. allocate_dma_reg_set_fcn        EQU    5B05h
  76. enable_dma_on_alt_fcn            EQU    5B06h
  77. disable_dma_on_alt_map_regs_fcn     EQU    5B07h
  78. deallocate_dma_reg_set_fcn        EQU    5B08h
  79.  
  80. prepare_for_warmboot_fcn        EQU    5Ch
  81.  
  82. enable_os_fcn_set_fcn            EQU    5D00h
  83. disable_os_fcn_set_fcn            EQU    5D01h
  84. return_access_key_fcn            EQU    5D02h
  85.  
  86. PAGE
  87. ;-----------------------------------------------------------------------------;
  88. ;                           E M M   S T A T U S E S                           ;
  89. ;-----------------------------------------------------------------------------;
  90. fcn_passed_stat                EQU    00h
  91. software_err_stat            EQU    80h
  92. handle_not_found_stat            EQU    83h
  93. undefined_fcn_stat            EQU    84h
  94. insufficient_unalloc_handles_stat    EQU    85h
  95. save_restore_context_err_stat        EQU    86h
  96. insufficient_total_pages_stat        EQU    87h
  97. insufficient_unalloc_pages_state    EQU    88h
  98. allocate_zero_pages_stat        EQU    89h
  99. log_page_out_of_bounds_stat        EQU    8Ah
  100. phys_page_out_of_bounds_stat        EQU    8Bh
  101. handle_context_full_stat        EQU    8Ch
  102. handle_context_already_saved_stat    EQU    8Dh
  103. handle_context_not_present_stat        EQU    8Eh
  104. undefined_sub_fcn_stat            EQU    8Fh
  105. undefined_attrib_stat            EQU    90h
  106. capability_not_supported_stat        EQU    91h
  107. move_source_dest_overlap_stat        EQU    92h
  108. source_dest_len_less_than_region_stat    EQU    93h
  109. conv_exp_mem_region_overlap_stat    EQU    94h
  110. exp_offset_greater_than_page_len_stat    EQU    95h
  111. region_len_exceeds_megabyte_stat    EQU    96h
  112. xchg_source_dest_overlap_stat        EQU    97h
  113. source_dest_type_not_defined_stat    EQU    98h
  114. alt_map_DMA_set_not_supported_stat    EQU    9Ch
  115. handle_name_not_found_stat        EQU    0A0h
  116. duplicate_handle_name_found_stat    EQU    0A1h
  117. megabyte_wrap_stat            EQU    0A2h
  118. array_corrupt_stat            EQU    0A3h
  119. fcn_access_denied_stat            EQU    0A4h
  120. local_stack_overflow_stat        EQU    0B0h
  121.  
  122. PAGE
  123. ;-----------------------------------------------------------------------------;
  124. ;                        E M M   D E F I N I T I O N S                        ;
  125. ;-----------------------------------------------------------------------------;
  126. FIRST_CONV_SEG                EQU    0000h
  127. LAST_CONV_SEG                EQU    9FFFh
  128.  
  129. FIRST_EXP_SEG                EQU    0A000h
  130. LAST_EXP_SEG                EQU    0FFFFh
  131.  
  132. MAX_HANDLES                EQU    255
  133. MAX_HANDLE_NAME_LEN            EQU    8
  134. MAX_MAPPABLE_REGIONS            EQU    64
  135. MAX_CONTEXT_SIZE            EQU    255
  136.